package ModelLayer;

public class Clothing extends Product {

	private String clothingSize;
	private String clothingColor;
	//private Range ran;
	
	public Clothing()
	{
		
	}
	
	public Clothing(int productId, String name, double purchasePrice, double salesPrice, double rentPrice, String countryOfOrigin, int range, String description, String clothingSize, String clothingColor, int supplier)
	{
		super (productId, name, purchasePrice, salesPrice, rentPrice, countryOfOrigin, range, description, supplier);
		//super(productId, name, purchasePrice, salesPrice, rentPrice, countryOfOrigin, range, description, supplier);
		
		//this.setSupplier(sup);
		//ran = new Range(range); // is made by product
		//ran = getRange();
		System.out.println("Clothing - super.getRange(); " + super.getRange());
		
		
		System.out.println("Clothing - super.getSupplier()); " + super.getSupplier());
		
		//this.setRange(ran);
		//System.out.println("class clothing: "+ran);
		this.clothingSize = clothingSize;
		this.clothingColor = clothingColor;
		//sup = new Supplier(supplier);
	}
	
	/*public Clothing(int productId, String name, double purchasePrice, double salesPrice, double rentPrice, String countryOfOrigin, Range range, String description, Supplier supplier, String clothingSize, String clothingColor)
	{
		super(productId, name, purchasePrice, salesPrice, rentPrice, countryOfOrigin, range, description, supplier);
		this.clothingSize = clothingSize;
		this.clothingColor = clothingColor;
	}*/

	/**
	 * @return the clothingSize
	 */
	public String getClothingSize() {
		return clothingSize;
	}

	/**
	 * @return the clothingColor
	 */
	public String getClothingColor() {
		return clothingColor;
	}

	/**
	 * @param clothingSize the clothingSize to set
	 */
	public void setClothingSize(String clothingSize) {
		this.clothingSize = clothingSize;
	}

	/**
	 * @param clothingColor the clothingColor to set
	 */
	public void setClothingColor(String clothingColor) {
		this.clothingColor = clothingColor;
	}
}
